package com.smart.manager.pop.entities.body;


import com.smart.common.entities.core.BaseSearch;
import com.smart.manager.pop.entities.enums.LevelGetWay;
import com.smart.manager.pop.entities.views.DisLevelView;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 等级规则
 *
 * @author Administrator
 * @date 2022/10/31
 */

public class RDisInviter {


    /**
     * 支付订单搜索条件
     *
     * @author xiaxuqiu
     * @date 2022/10/17
     */
    @Data
    @EqualsAndHashCode(callSuper = true)
    @ApiModel("RDisInviter1")
    public static class SearchBody extends BaseSearch {

        @ApiModelProperty("等级名称")
        private String name;

        @ApiModelProperty("前端别名")
        private String nickName;

        @ApiModelProperty(value = "等级获得方式")
        private LevelGetWay getWay ;

    }


    @Data

    @ApiModel("RDisInviter2")
    public static class EditBody implements Serializable {

        @ApiModelProperty(value = "分销员手机")
        private String phone;

        @ApiModelProperty(value = "分销员手机")
        private String avatar;

        @ApiModelProperty(value = "分销等级")
        private DisLevelView level;

        @ApiModelProperty(value = "分销员姓名")
        private String name;

        @ApiModelProperty(value = "账号状态")
        private Boolean state;



    }


}
